#include "gui_datamodels.h"

GUI_DataModels::GUI_DataModels( QStandardItemModel *__subProductsList,    QStandardItemModel *__productsList,
                                QStandardItemModel *__suppliersList,   MainProducer *__producer):
    subProductsList(__subProductsList),
    productsList(__productsList),
    suppliersList(__suppliersList),
    producer(__producer)
{
    subProductsList->setColumnCount(3);
}

GUI_DataModels::~GUI_DataModels(){
    delete subProductsList;
    delete productsList;
    delete suppliersList;
    delete producer;
}
